/* 仪表盘页面样式 */

/* 设备控制中心 */
.control-center {
    text-align: center;
  }
  
  .power-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }
  
  .power-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--danger-color);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.4);
    margin-bottom: 12px;
    transition: all 0.3s ease, transform 0.1s ease;
  }
  
  .power-button.on {
    background-color: var(--success-color);
    box-shadow: 0 4px 15px rgba(0, 204, 136, 0.4);
  }
  
  .power-button:active {
    transform: scale(0.95);
  }
  
  .power-status {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
  }
  
  /* 发电数据卡片 */
  .data-card {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 16px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
  }
  
  .card-icon i {
    color: white;
    font-size: 1.5rem;
  }
  
  .card-content {
    flex: 1;
  }
  
  .card-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 4px;
  }
  
  .card-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
  }
  
  .card-unit {
    font-size: 0.9rem;
    color: #999;
    margin-left: 4px;
  }
  
  .card-secondary {
    font-size: 0.85rem;
    color: var(--success-color);
    margin-top: 4px;
  }
  
  /* 工作状态监控 */
  .status-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
  }
  
  .status-card {
    flex: 1;
    min-width: calc(33% - 16px);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 3px solid var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .status-card.warning {
    border-top-color: var(--warning-color);
  }
  
  .status-card.danger {
    border-top-color: var(--danger-color);
  }
  
  .status-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
  }
  
  .status-card.warning .status-icon {
    color: var(--warning-color);
  }
  
  .status-card.danger .status-icon {
    color: var(--danger-color);
  }
  
  .status-info {
    text-align: center;
  }
  
  .status-value {
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  /* 响应式布局 */
  @media (max-width: 480px) {
    .status-cards {
      flex-direction: column;
    }
  
    .status-card {
      width: 100%;
    }
  }

  /* 暗色模式样式 */
  .dark-mode .data-card {
    background-color: #1e1e1e;
    color: #e0e0e0;
  }

  .dark-mode .card-title {
    color: #aaa;
  }

  .dark-mode .card-unit {
    color: #666;
  }

  .dark-mode .status-card {
    background-color: #1e1e1e;
    color: #e0e0e0;
  }